package com.study.common.enums;

import lombok.Getter;

/**
 * @description: some desc
 * @author: LChuang
 * @date: 2023/9/26 17:50
 */
@Getter
public enum ReturnCodeEnum {
    SUCCESS(200, "success"),
    FAIL(500, "fail"),
    MAIL_FAIL(522, "send email fail");


    private final Integer code;
    private final String msg;

    ReturnCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
